package com.michael.retail.auth;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 类功能描述:
 * <pre>
 *   认证服务启动类
 * </pre>
 *
 * @author Michael
 * @version 1.0
 * @date 2021/7/5 15:12
 */
@Slf4j
@EnableFeignClients(
        basePackages = {"com.michael.retail.**.feign"}
)
@EnableDiscoveryClient
@SpringBootApplication
public class AuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class, args);
        log.info("&& 完成启动 &&");
    }
}
